package com.cloud.elm.service;

import com.cloud.elm.po.DeliveryAddress;

import java.util.List;

public interface DeliveryAddressService {

	Integer getLastAddr(String userId);

	int setLastAddr(String userId, Integer daId);

	List<DeliveryAddress> listDeliveryAddressByUserId(String userId);
	
	DeliveryAddress getDeliveryAddressById(Integer daId);
	int saveDeliveryAddress(DeliveryAddress deliveryAddress);
	int updateDeliveryAddress(DeliveryAddress deliveryAddress);
	void removeDeliveryAddress(Integer daId);
}
